package com.mall.dao;

import java.util.List;

import com.mall.bean.Search;

public interface SearchDao {

	//根据名称查询
	public List<Search> findAll(Search search);

	//根据类型查询
	public List<Search> findAll_type(Search search);

	//根据内容分类查询
	public List<Search> findAll_classify(Search search);


	//判断名称是否为空
	public int isName(Search search);

	//判断类型是否为空
	public int isType(Search search);

	//判断内容分类是否为空
	public int isClassify(Search search);


	//查询关键词返回数据
	public List<Search> findKeyword(Search search);


}
